[Relax] Move TIR backend to gpu_generic#17749
Merged
tqchen merged 2 commits intoapache:mainfrom Mar 16, 2025
Merged
Conversation
This PR moves the TIR backend code to the gpu_generic backend directory structure. The main changes include: - Relocating TIR implementation files from relax/backend_tir to relax/backend/gpu_generic/tir - Updating import paths in dispatch_sampling.py and dispatch_sort_scan.py - Removing unused files (pattern.py, cutlass.py and related tests)
Member
Author
|
I removed tir_cutlass backend as there is no code that uses it. Please let me know if it is still useful. cc @spectrometerHBH |
Member
|
thanks @Hzfengsy , given gpu_generic likely already uses tir by default, we don't need the tir subnamespace here, otherwise LGTM |
tqchen
approved these changes
Mar 16, 2025
ShiboXing
pushed a commit
to ShiboXing/tvm
that referenced
this pull request
Aug 10, 2025
* [Relax] Move TIR backend to gpu_generic This PR moves the TIR backend code to the gpu_generic backend directory structure. The main changes include: - Relocating TIR implementation files from relax/backend_tir to relax/backend/gpu_generic/tir - Updating import paths in dispatch_sampling.py and dispatch_sort_scan.py - Removing unused files (pattern.py, cutlass.py and related tests) * remove tir folder
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR moves the TIR backend code to the gpu_generic backend directory structure. The main changes include: